import { Route } from 'react-router-dom'

function withRouters(Com) {
    return () => {
        return <Route component = { Com }/>
    }
}

export {
    withRouters
}